|
|
|
|
HandleReturn Property, SftTree Class |
Defines whether the control accepts and handles the Return key.
Syntax SftTree Class (Softelvdm.SftTreeNET)
VB |
Public Property HandleReturn As Boolean |
C# |
public bool HandleReturn { get; set; } |
C++ |
public: property bool HandleReturn { |
Property Value
True if the control handles the Return key, otherwise False.
The default value is True.
Comments
The HandleReturn property defines whether the control accepts and handles the Return key.
If enabled, the Return key is handled by the control and the KeyDown event will be generated for the Return key. In this case, if AutoRespond is True, the current item is automatically expanded or collapsed.
Otherwise, the control ignores the Return key, which allows an enclosing form's default button to respond to the Return key instead.